//
//  NewsCell.m
//  SinaNews
//
//  Created by qianfeng on 15-6-15.
//  Copyright (c) 2015年 耿宁. All rights reserved.
//

#import "NewsCell.h"
#import "UIImageView+WebCache.h"
@implementation NewsCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{}

- (void)showDataWithModel:(NewsModel *)model {
    [self.picImage sd_setImageWithURL:[NSURL URLWithString:model.pic] placeholderImage:nil];
    self.titleLabel.text=model.title;
    self.introLabel.text=model.intro;
    self.commentLabel.text=model.comment.stringValue;
}




- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
